package com.ruicar.afs.cloud.afscase.approvemakelabel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.afscase.approvemakelabel.entity.LoanLabelInfo;
import com.ruicar.afs.cloud.afscase.approvemakelabel.vo.ApproveMake;
import com.ruicar.afs.cloud.afscase.loanapprove.task.vo.LoanApproveTaskVO;

import java.util.List;

/**
 * @author xueyu.ma
 * @version 1.0
 * @created 2020/6/30
 */
public interface LoanLabelInfoMapper extends BaseMapper<LoanLabelInfo> {

    List<ApproveMake> queryLabelByNameList(List list);

    /**
     * 根据申请编号查询放款标签
     */
    List<LoanLabelInfo> queryLoanLabelByApplyNo(String applyNo);

    /**
     * 查询所有标签名称列表
     */
    List<LoanLabelInfo> getLabelList();

    /**
     * 查询所有车辆品牌名称列表
     */
    List<LoanApproveTaskVO> getBrandNameList();
}